/**
 *  \file   sensor.h
 *  \author Miora ANDRIAMANOHARISOA, Loic MINGHETTI
 *  \date   PFE 2011
 *  \desc	Getting temperature and generate periodic data package
 **/
 
 
void sensor_init();
void sensor_set_real_temp(int temp);
int sensor_get_real_temp();
int sensor_get_real_temp_avg();

extern int sensor_on;

PT_THREAD(thread_sensor(struct pt *pt));
